﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<ObjectModel.User>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <script type="text/javascript">
    	selectMenu('User');
    </script>	

    <h2>Delete</h2>

    <h3>Are you sure you want to delete this?</h3>
    <fieldset>
        <legend>Fields</legend>
        
        <div class="display-label">Name</div>
        <div class="display-field"><%: Model.Name %></div>
        
        <div class="display-label">Tel</div>
        <div class="display-field"><%: Model.Tel %></div>
        
        <div class="display-label">Cel</div>
        <div class="display-field"><%: Model.Cel %></div>
        
        <div class="display-label">PersonalMail</div>
        <div class="display-field"><%: Model.PersonalMail %></div>
        
        <div class="display-label">CorporateMail</div>
        <div class="display-field"><%: Model.CorporateMail %></div>
        
        <div class="display-label">Street</div>
        <div class="display-field"><%: Model.Street %></div>
        
        <div class="display-label">Complement</div>
        <div class="display-field"><%: Model.Complement %></div>
        
        <div class="display-label">CEP</div>
        <div class="display-field"><%: Model.CEP %></div>
        
        <div class="display-label">Neighbourhood</div>
        <div class="display-field"><%: Model.Neighbourhood %></div>
        
        <div class="display-label">City</div>
        <div class="display-field"><%: Model.City %></div>
        
        <div class="display-label">State</div>
        <div class="display-field"><%: Model.State %></div>
        
        <div class="display-label">Fax</div>
        <div class="display-field"><%: Model.Fax %></div>
        
        <div class="display-label">Login</div>
        <div class="display-field"><%: Model.Login %></div>
        
        <div class="display-label">Password</div>
        <div class="display-field"><%: Model.Password %></div>
        
        <div class="display-label">CPF</div>
        <div class="display-field"><%: Model.CPF %></div>
        
        <div class="display-label">BeginDate</div>
        <div class="display-field"><%: String.Format("{0:g}", Model.BeginDate) %></div>
        
        <div class="display-label">EndDate</div>
        <div class="display-field"><%: String.Format("{0:g}", Model.EndDate) %></div>
        
        
    </fieldset>
    <% using (Html.BeginForm("Save", "User")) { %>
        <p>
			<%: Html.HiddenFor(obj=>obj.Id) %>
		    <input type="submit" value="Delete" /> |
		    <%: Html.ActionLink("Back to List", "Index") %>
        </p>
    <% } %>

</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="HeaderContent" runat="server">
</asp:Content>

